package com.jhh.pay.center.api.data;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/15
 */
@Getter
@Setter
public class OrderR implements Serializable {
    @JsonProperty("sid")
    private String sid;
    @JsonProperty("order_no")
    private String orderNo;
    @JsonProperty("app_id")
    private int appId;
    @JsonProperty("money")
    private BigDecimal money;
    @JsonProperty("order_time")
    private Date orderTime;
    @JsonProperty("channel_id")
    private int channelId;
    @JsonProperty("channel_name")
    private String channelName;
    @JsonProperty("channel_custom_no")
    private String channelCustomNo = "";
    @JsonProperty("bank_info")
    private BankInfo bankInfo;
    @JsonProperty("channels")
    private Map<String, Object> channels = new TreeMap<>();
    @JsonProperty("extension")
    private Map<String, Object> extension = new TreeMap<>();
    @JsonProperty("post_time")
    private Date postTime;
    @JsonProperty("order_state")
    private int orderState;
    @JsonProperty("last_resp")
    private String lastResp = "";
    @JsonProperty("last_resp_time")
    private Date lastRespTime;
    @JsonProperty("notify_state")
    private int notifyState;
    @JsonProperty("properties")
    private Map<String, Object> properties = new TreeMap<>();
}
